﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MemberUser/MemberMaster.Master" AutoEventWireup="true" CodeBehind="ModifyUserInfo.aspx.cs" Inherits="ZLCMS.Web.MemberUser.ModifyUserInfo" %>

<%@ MasterType VirtualPath="~/MemberUser/MemberMaster.Master" %>
<%@ Register Src="UC/MemberCategory.ascx" TagName="MemberCategory" TagPrefix="uc1" %>
<%@ Register Src="UC/Ad_Right.ascx" TagName="Ad_Right" TagPrefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<script src="/js/xheditor/xheditor-zh-cn.min.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">


  <!--wrapper start-->
    <div id="wrapper">
        <!--left start-->
        <div class="shop_left">
            <uc1:MemberCategory ID="MemberCategory1" runat="server" />
        </div>
        <!--left end-->
        <!--centent start-->
        <div class="shop_centent">

            <h2>
                修改基本信息</h2>
            <div class="box">
                <div class="regist_box no_bxd" style="height:750px;">
                    <div class="r_left">
                        <div class="tabs_box">
                            <div class="con1">
                                <form id="Form1" runat="Server" class="registerform">
                                <div class="inp">
                                    <label>
                                        用户名</label><asp:TextBox ID="tb_name" name="tb_name" runat="server" datatype="*2-30"></asp:TextBox><div  class="clear"> </div>
                                </div>
                                <div class="checktip">
                                </div>
                                 <div class="inp">
                                    <label>
                                        用户昵称</label><asp:TextBox ID="tb_nickname" runat="server" MaxLength="30" name="tb_nickname"     errormsg="请输入2-30位字符" nullmsg="请输入用户昵称！" datatype="s2-30"></asp:TextBox><font></font><div class="clear"></div>
                                </div>
                                <div class="checktip">
                                    <span class="Validform_checktip"></span>
                                </div>
                                 <div class="inp">
                                    <label>Email</label>
                                    <asp:TextBox ID="tb_email" runat="server"  name="tb_email" errormsg="请输入正确的Email！" nullmsg="请输入Email！" datatype="e"></asp:TextBox><div
                                                class="clear">
                                            </div>
                                </div>
                                <div class="checktip">
                                    <span class="Validform_checktip"></span>
                                </div>
                                <div class="inp">
                                    <label>
                                        联系电话</label><asp:TextBox ID="tb_phone" name="tb_phone" runat="server" MaxLength="16" datatype="m" errormsg="请填写6-请输入正确的电话号码！" nullmsg="请输入电话号码！"></asp:TextBox><div
                                                class="clear">
                                            </div>
                                </div>
                                <div class="checktip">
                                    <span class="Validform_checktip"></span>
                                </div>
                                 <div class="inp">
                                    <label>
                                        详细介绍</label>&nbsp;&nbsp;  
                                      <%--  <textarea name="content" id="ta_des" runat="server" class="editor {width:'600'}" rows="8"
                    uplinkurl="/SystemManage/Common/ContentUpload.aspx?dir=doc&ext=zip,rar,txt" uplinkext="zip,rar,txt"
                    upimgurl="/SystemManage/Common/ContentUpload.aspx?dir=doc&ext=jpg,jpeg,gif,png" upimgext="jpg,jpeg,gif,png"
                    upflashurl="/SystemManage/Common/ContentUpload.aspx?dir=doc&ext=swf" upflashext="swf"
                    upmediaurl="/SystemManage/Common/ContentUpload.aspx?dir=doc&ext=avi" upmediaext="avi" > 
                    &nbsp;
                    </textarea>--%>
                    <textarea name="content" id="ta_des" runat="server"  rows="8" cols="40"></textarea>
                                        <div class="clear">
                                            </div>
                                </div>
                                <div class="checktip">
                                    <span class="Validform_checktip"></span>
                                </div>
                                <p class="tijiao">
                                    <asp:Button ID="tb_commit" class="submit" runat="server" Text="确认修改" onclick="tb_commit_Click"/>  </p>
                                </form>
                            </div>
                        </div>
                    </div>
                    <div class="clear">
                    </div>
                </div>
            </div>
        </div>
        <div>
        
        </div>
      
        <!--centent end-->
        <!--right start-->
        <div class="shop_right">
            <uc2:Ad_Right ID="Ad_Right1" runat="server" />
        </div>
        <!--right end-->
        <div class="clear">
        </div>
    </div>
    <div id="div_meitu" style="display:none">
      <div id="altContent" >
</div>
    </div>
    <!--wrapper end-->
    <script type="text/javascript">
        $(function () {
            $(".registerform").openValidform();
        });

    $("textarea.editor").each(function () {
        var $this = $(this);
        var op = { html5Upload: false, skin: 'vista', tools: $this.attr("tools") || 'full' };
        var upAttrs = [
				["upLinkUrl", "upLinkExt", "zip,rar,txt"],
				["upImgUrl", "upImgExt", "jpg,jpeg,gif,png"],
				["upFlashUrl", "upFlashExt", "swf"],
				["upMediaUrl", "upMediaExt", "avi"]
			];

        $(upAttrs).each(function (i) {
            var urlAttr = upAttrs[i][0];
            var extAttr = upAttrs[i][1];

            if ($this.attr(urlAttr)) {
                op[urlAttr] = $this.attr(urlAttr);
                op[extAttr] = $this.attr(extAttr) || upAttrs[i][2];
            }
        });

        $this.xheditor(op);
    });
    </script>

</asp:Content>
